<template>
  <div>
    <van-nav-bar :title="data.header"
                 left-arrow
                 @click-left="onClickLeft" />
    <p>哎呀呀呀，我404了</p>
  </div>
</template>
<script>
import { getCurrentInstance } from 'vue'
export default {
  setup () {
    const { ctx, proxy } = getCurrentInstance()
    function onClickLeft () {
      window.history.length > 1 ? proxy.$router.go(-1) : proxy.$router.push('/manage/home')
    }
    return {
      onClickLeft
    }
  }
}
</script>
<style lang="scss" scoped>
</style>
